package com.qingfeng.coupon.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qingfeng.base.model.Page;
import com.qingfeng.coupon.bean.CouponTemplate;
import com.qingfeng.coupon.vo.CouponTemplateCondition;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/5/26 2:07 下午
 */
public interface CouponTemplateMapper extends BaseMapper<CouponTemplate> {

    IPage<CouponTemplate> selectAll(Page page, @Param("condition") CouponTemplateCondition condition);

    int updateExpired();


}
